<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>仪表板 - SimpleHire</title>
    <link
      th:href="@{/webjars/bootstrap/5.3.0/css/bootstrap.min.css}"
      rel="stylesheet"
    />
    <link th:href="@{/css/style.css}" rel="stylesheet" />
  </head>
  <body>
    <div th:replace="~{fragments/header :: header}"></div>

    <main class="container mt-4">
      <div class="row">
        <div class="col-md-8 mx-auto">
          <div class="card">
            <div class="card-header">
              <h3>欢迎使用 SimpleHire</h3>
            </div>
            <div class="card-body">
              <p>
                SimpleHire
                是一个基于人工智能的简历分析和评分系统，帮助HR快速筛选合适的候选人。
              </p>

              <div class="mt-4">
                <h5>主要功能：</h5>
                <ul>
                  <li>上传简历文件（PDF/DOCX）或直接输入简历文本</li>
                  <li>AI自动分析简历内容并生成相关问题</li>
                  <li>智能评分系统，评估候选人匹配度</li>
                  <li>提供简历优化建议</li>
                </ul>
              </div>

              <div class="text-center mt-4">
                <a th:href="@{/interview}" class="btn btn-primary btn-lg"
                  >开始分析简历</a
                >
              </div>
            </div>
          </div>
        </div>
      </div>
    </main>

    <div th:replace="~{fragments/footer :: footer}"></div>

    <script
      th:src="@{/webjars/bootstrap/5.3.0/js/bootstrap.bundle.min.js}"
    ></script>
  </body>
</html>
